package com.link.base.base.product.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.link.base.base.product.dao.mybatis.mapper.PartsBasicInfoMapper;
import com.link.base.base.product.model.PartsBasicInfo;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;

import java.util.List;

/**
 * 零件基本信息表
 *
 * @author 王昊
 * @date 2020-10-15 13:30:11
 */
@Service
public class PartsBasicInfoServiceImpl extends BasicServiceImpl<PartsBasicInfo> implements PartsBasicInfoService {

    @Resource
    private PartsBasicInfoMapper    partsBasicInfoMapper;

    @Override
    public BasicMapper<PartsBasicInfo> getBasicMapper() {
        return partsBasicInfoMapper;
    }

    @Override
    public List<PartsBasicInfo> queryByCRMAssId(PartsBasicInfo partsBasicInfo) {
        return partsBasicInfoMapper.queryByCRMAssId(partsBasicInfo);
    }
}